//
//  NSTimer+PauseAndOnTimer.m
//  SITABLE
//
//  Created by songjun on 16/10/11.
//  Copyright © 2016年 Sita. All rights reserved.
//

#import "NSTimer+PauseAndOnTimer.h"

@implementation NSTimer (PauseAndOnTimer)
-(void)pauseTimer
{
    if (![self isValid]) {
        return;
    }
    [self setFireDate:[NSDate distantFuture]];
}

-(void)resumeTimer
{
    if (![self isValid]) {
        return;
    }
    [self setFireDate:[NSDate date]];
    
}
@end
